6 7 3
1 0 1 0 0 0 0
1 1 0 0 1 0 0
0 0 1 1 0 1 0
0 1 0 0 0 0 1
0 0 0 1 1 0 0
0 0 0 0 0 1 1
10 2 1 6 3 4 8
1 6 4